Tootsville::Cassandra-Obnoxious-Filter

Function

Cassandra-Obnoxious-Filter names a function, with lambda list (TEXT &OPTIONAL (VOL talk)):

Filter TEXT for obnoxious content. Starting volume is VOL.

Returns multiple values: the altered versions of TEXT and VOL.

If TEXT is in ALL CAPS LOCK COMPLETELY, it will be downcased, but VOL will be increased one level (if possible). If TEXT contains certain common repeated or mistyped punctuation, they will be converted.

Note that this is not a profanity filter. See TOOTSVILLE CASSANDRA-FILTER for that feature.

This also handles some miscellaneous tasks to make the typography more attractive, such as replacing ... with (three periods with an ellipsis), making quotation marks be opening or closing quotes, multiple hyphens with en or em dashes, capitalizing the word “I,” and replacing text equivalents of hard-to-type characters like (c) with ©. In particular, (t) is replaced with a circled T in imitation of the Tootsville logo.

File

Defined in file src/cassandra.lisp.